package com.cysion.study.ui

import com.cysion.study.ktbox.base.BaseActivity
import com.cysion.study.ktbox.utils.darkTextTheme
import com.cysion.other.color
import com.cysion.study.R
import com.cysion.study.customview.java.SimpleData.Students
import com.cysion.study.widget.ShowToast
import kotlinx.android.synthetic.main.activity_attent_comment.*


//托管点评
class AttentCommentActivity : BaseActivity() {

    var simpleDatas: MutableList<Students> = mutableListOf()
    override fun getLayoutId(): Int = R.layout.activity_attent_comment
    private var caid=""
    override fun initView() {
//        caid = intent.extras.getString("caid")
        caid = "-1"

        darkTextTheme(color(R.color.white))
        iv_back.setOnClickListener {
            finish()
        }

       /* indexableLayout.setLayoutManager(LinearLayoutManager(self))
        simpleAdaper = AttentCommentAdapter(self)
        indexableLayout.setAdapter(simpleAdaper)
        simpleAdaper.setDatas(simpleDatas)

        indexableLayout.setOverlayStyle_MaterialDesign(resources.getColor(R.color.colorAccent))
        // 全字母排序。  排序规则设置为：每个字母都会进行比较排序；速度较慢
        indexableLayout.setCompareMode(IndexableLayout.MODE_ALL_LETTERS)*/


//        simpleAdaper.setOnItemClicks {position, entity ->
            //flag 1 签到
//            sendSign(position,entity)//查看评价
            ShowToast("查看评价")
        }

    override fun closeMvp() {


    }

}


